package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_user_degree
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class UserDegree
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long uid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long storeId;

    /** 融合会员等级ID */
    @Excel(name = "融合会员等级ID")
    private Long cashierPtId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String levelPic;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ruleType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long levelNum;

    /** 会员折扣 */
    @Excel(name = "会员折扣")
    private BigDecimal discount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isPostageFree;

    /** 是否开启享受会员折扣 */
    @Excel(name = "是否开启享受会员折扣")
    private Integer isDiscount;

    /** 等级有效期(单位:月) */
    @Excel(name = "等级有效期(单位:月)")
    private Integer degreeMonth;

    /** 积分抵现上限每单(元) */
    @Excel(name = "积分抵现上限每单(元)")
    private Integer pointsDiscountToplimit;

    /** 积分在订单金额抵现比例（百分比） */
    @Excel(name = "积分在订单金额抵现比例", readConverterExp = "百=分比")
    private BigDecimal pointsDiscountRatio;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long tradeLimit;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long amountLimit;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long pointsLimit;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;

    /** 是否开启（每单）有积分抵现上限 */
    @Excel(name = "是否开启", readConverterExp = "每=单")
    private Integer isPointsDiscountToplimit;

    /** 是否开启积分在订单金额抵现比例 */
    @Excel(name = "是否开启积分在订单金额抵现比例")
    private Integer isPointsDiscountRatio;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long timestamp;

    /** 会员套餐 */
    @Excel(name = "会员套餐")
    private String degreeCondition;

    /** 会员渠道 0经验值会员 1拉粉会员 2付费会员 */
    @Excel(name = "会员渠道 0经验值会员 1拉粉会员 2付费会员")
    private Integer memberChannel;

    /** 满足团队人数 */
    @Excel(name = "满足团队人数")
    private Integer teamNum;

    /** 购买的礼包商品数 */
    @Excel(name = "购买的礼包商品数")
    private Integer buyGift;

    /** 直销的礼包商品数 */
    @Excel(name = "直销的礼包商品数")
    private Integer sellGift;

    /** 直销的普通商品销售额 */
    @Excel(name = "直销的普通商品销售额")
    private BigDecimal salesVolume;

    /** 团队销售的礼包商品个数 */
    @Excel(name = "团队销售的礼包商品个数")
    private Integer teamGift;

    /** 团队销售的普通商品销售额 */
    @Excel(name = "团队销售的普通商品销售额")
    private BigDecimal teamSales;

    /** 升职的下级个数 */
    @Excel(name = "升职的下级个数")
    private Integer promotion;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setCashierPtId(Long cashierPtId) 
    {
        this.cashierPtId = cashierPtId;
    }

    public Long getCashierPtId() 
    {
        return cashierPtId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLevelPic(String levelPic) 
    {
        this.levelPic = levelPic;
    }

    public String getLevelPic() 
    {
        return levelPic;
    }
    public void setRuleType(String ruleType) 
    {
        this.ruleType = ruleType;
    }

    public String getRuleType() 
    {
        return ruleType;
    }
    public void setLevelNum(Long levelNum) 
    {
        this.levelNum = levelNum;
    }

    public Long getLevelNum() 
    {
        return levelNum;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setIsPostageFree(Integer isPostageFree) 
    {
        this.isPostageFree = isPostageFree;
    }

    public Integer getIsPostageFree() 
    {
        return isPostageFree;
    }
    public void setIsDiscount(Integer isDiscount) 
    {
        this.isDiscount = isDiscount;
    }

    public Integer getIsDiscount() 
    {
        return isDiscount;
    }
    public void setDegreeMonth(Integer degreeMonth) 
    {
        this.degreeMonth = degreeMonth;
    }

    public Integer getDegreeMonth() 
    {
        return degreeMonth;
    }
    public void setPointsDiscountToplimit(Integer pointsDiscountToplimit) 
    {
        this.pointsDiscountToplimit = pointsDiscountToplimit;
    }

    public Integer getPointsDiscountToplimit() 
    {
        return pointsDiscountToplimit;
    }
    public void setPointsDiscountRatio(BigDecimal pointsDiscountRatio) 
    {
        this.pointsDiscountRatio = pointsDiscountRatio;
    }

    public BigDecimal getPointsDiscountRatio() 
    {
        return pointsDiscountRatio;
    }
    public void setTradeLimit(Long tradeLimit) 
    {
        this.tradeLimit = tradeLimit;
    }

    public Long getTradeLimit() 
    {
        return tradeLimit;
    }
    public void setAmountLimit(Long amountLimit) 
    {
        this.amountLimit = amountLimit;
    }

    public Long getAmountLimit() 
    {
        return amountLimit;
    }
    public void setPointsLimit(Long pointsLimit) 
    {
        this.pointsLimit = pointsLimit;
    }

    public Long getPointsLimit() 
    {
        return pointsLimit;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setIsPointsDiscountToplimit(Integer isPointsDiscountToplimit) 
    {
        this.isPointsDiscountToplimit = isPointsDiscountToplimit;
    }

    public Integer getIsPointsDiscountToplimit() 
    {
        return isPointsDiscountToplimit;
    }
    public void setIsPointsDiscountRatio(Integer isPointsDiscountRatio) 
    {
        this.isPointsDiscountRatio = isPointsDiscountRatio;
    }

    public Integer getIsPointsDiscountRatio() 
    {
        return isPointsDiscountRatio;
    }
    public void setTimestamp(Long timestamp) 
    {
        this.timestamp = timestamp;
    }

    public Long getTimestamp() 
    {
        return timestamp;
    }
    public void setDegreeCondition(String degreeCondition) 
    {
        this.degreeCondition = degreeCondition;
    }

    public String getDegreeCondition() 
    {
        return degreeCondition;
    }
    public void setMemberChannel(Integer memberChannel) 
    {
        this.memberChannel = memberChannel;
    }

    public Integer getMemberChannel() 
    {
        return memberChannel;
    }
    public void setTeamNum(Integer teamNum) 
    {
        this.teamNum = teamNum;
    }

    public Integer getTeamNum() 
    {
        return teamNum;
    }
    public void setBuyGift(Integer buyGift) 
    {
        this.buyGift = buyGift;
    }

    public Integer getBuyGift() 
    {
        return buyGift;
    }
    public void setSellGift(Integer sellGift) 
    {
        this.sellGift = sellGift;
    }

    public Integer getSellGift() 
    {
        return sellGift;
    }
    public void setSalesVolume(BigDecimal salesVolume) 
    {
        this.salesVolume = salesVolume;
    }

    public BigDecimal getSalesVolume() 
    {
        return salesVolume;
    }
    public void setTeamGift(Integer teamGift) 
    {
        this.teamGift = teamGift;
    }

    public Integer getTeamGift() 
    {
        return teamGift;
    }
    public void setTeamSales(BigDecimal teamSales) 
    {
        this.teamSales = teamSales;
    }

    public BigDecimal getTeamSales() 
    {
        return teamSales;
    }
    public void setPromotion(Integer promotion) 
    {
        this.promotion = promotion;
    }

    public Integer getPromotion() 
    {
        return promotion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("storeId", getStoreId())
            .append("cashierPtId", getCashierPtId())
            .append("name", getName())
            .append("levelPic", getLevelPic())
            .append("ruleType", getRuleType())
            .append("levelNum", getLevelNum())
            .append("discount", getDiscount())
            .append("isPostageFree", getIsPostageFree())
            .append("isDiscount", getIsDiscount())
            .append("degreeMonth", getDegreeMonth())
            .append("pointsDiscountToplimit", getPointsDiscountToplimit())
            .append("pointsDiscountRatio", getPointsDiscountRatio())
            .append("tradeLimit", getTradeLimit())
            .append("amountLimit", getAmountLimit())
            .append("pointsLimit", getPointsLimit())
            .append("description", getDescription())
            .append("isPointsDiscountToplimit", getIsPointsDiscountToplimit())
            .append("isPointsDiscountRatio", getIsPointsDiscountRatio())
            .append("timestamp", getTimestamp())
            .append("degreeCondition", getDegreeCondition())
            .append("memberChannel", getMemberChannel())
            .append("teamNum", getTeamNum())
            .append("buyGift", getBuyGift())
            .append("sellGift", getSellGift())
            .append("salesVolume", getSalesVolume())
            .append("teamGift", getTeamGift())
            .append("teamSales", getTeamSales())
            .append("promotion", getPromotion())
            .toString();
    }
}
